package cuit.epoch.pymjl.security.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class ChatMessage {
    //角色
    private String content;
    //信息
    private String sender;
    //时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String date;
    //人数
    private int pepo;

    // getters and setters
}
